package com.broadengate.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Currency entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Currency implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Set deposits = new HashSet(0);
	private Set transfers = new HashSet(0);
	private Set withdraws = new HashSet(0);

	// Constructors

	/** default constructor */
	public Currency() {
	}

	/** minimal constructor */
	public Currency(String name) {
		this.name = name;
	}

	/** full constructor */
	public Currency(String name, Set deposits, Set transfers, Set withdraws) {
		this.name = name;
		this.deposits = deposits;
		this.transfers = transfers;
		this.withdraws = withdraws;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set getDeposits() {
		return this.deposits;
	}

	public void setDeposits(Set deposits) {
		this.deposits = deposits;
	}

	public Set getTransfers() {
		return this.transfers;
	}

	public void setTransfers(Set transfers) {
		this.transfers = transfers;
	}

	public Set getWithdraws() {
		return this.withdraws;
	}

	public void setWithdraws(Set withdraws) {
		this.withdraws = withdraws;
	}

}